#define _CRT_SECURE_NO_WARNINGS 1
#include "stack.h"
int main()
{
	bit::stack<int> a;
	a.push(1);
	a.push(2);
	a.push(3);
	a.push(4);
	a.push(5);
	a.push(6);
	a.push(7);
	a.push(8);
	a.push(9);
	a.push(10);
	a.push(11);
	a.push(12);
	while (!a.empty())
	{
		cout << a.top() << " ";
		a.pop();
	}
	cout << endl;
	cout << a.size() << endl;
	cout << a.empty() << endl;
	a.push(1);
	cout << a.size() << endl;
	cout << a.empty() << endl;
	/*bit2::queue<int> a;
	a.push(1);
	a.push(2);
	a.push(3);
	a.push(4);
	a.push(5);
	a.push(6);
	a.push(7);
	a.push(8);
	a.push(9);
	a.push(10);
	a.push(11);
	a.push(12);
	cout << a.front() << endl;
	cout << a.back() << endl;
	while (!a.empty())
	{
		cout << a.front() << " ";
		a.pop();
	}
	cout << endl;
	cout << a.size() << endl;
	cout << a.empty() << endl;
	a.push(1);
	cout << a.size() << endl;
	cout << a.empty() << endl;*/
}
